//@import "../components";
@import "../see/components";
@import "purchaseHeader";
body{
  background: #f1f1f1;
}
#purchaseIndex{
  padding: 1.78rem 0 0.98rem;
  overflow: hidden;
}
.purchase-slider{
  margin-bottom: 0.2rem;
  height: 3.5rem;
  .swiper-container{
    width: 100%;
    height: 100%;
    img{
      width: 100%;
      height: 100%;
    }
    .swiper-pagination {
      bottom: 0;
      width: 98%;
      text-align: right;
    }
    .swiper-pagination-bullet {
      margin: 0 0.05rem !important;
      opacity: 1;
      width: 0.16rem;
      height: 0.04rem;
      background-color: rgba(255, 255, 255, 0.4);
      border-radius: 2px;
    }
    .swiper-pagination-bullet-active {
      background-color: #ffffff;
    }
  }
}
.purchase-top{
  margin-bottom: 0.2rem;
  height: 4rem;
  background: #fff;
}
.purchase-topLeft,.purchase-topRight{
  float: left;
  height: 100%;
}
.purchase-topLeft{
  width: 50%;
  text-align: center;
  .swiper-container{
    height: 100%;
    width: 100%;
    .swiper-pagination {
      bottom: 0;
      padding-right: 0.44rem;
      width: 95%;
    }
    .swiper-pagination-bullet {
      margin: 0 0.05rem;
      height: 0.1rem;
      width: 0.1rem;
      border: 1px solid #cccccc;
      background: none;
      opacity: 1;
    }
    .swiper-pagination-bullet-active {
      opacity: 1;
      background: #cccccc;
      border-color: #cccccc;
    }
  }
  .swiper-slide{
    position: relative;
    height: 100%;
    img{
      position: absolute;
      left: 0;
      top: 0;
      z-index: 100;
      //margin-left: -1.2rem;
      //margin: 0.65rem auto;
      display: block;
      width: 100%;
      height: 100%;
    }
  }
  .topLeft-title{
    position: relative;
    z-index: 101;
    margin-top: 0.25rem;
    h6{
      width: 100%;
      font-weight: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 14px;
      color: #333;
    }
    p{
      font-size: 9px;
      color: #7b7b7b;
    }
  }
  .topLeft-money{
    position: absolute;
    left: 0;
    top: 3.05rem;
    z-index: 101;
    font-size: 0;
    width: 100%;
    height: 0.35rem;
    line-height: 0.35rem;
    text-align: center;
    span{
        font-size: 10px;
        color: #333;
    }
    strong{
      font-size: 12px;
      color: #f44834;
    }
  }
  .purchase-sxb{
    display: inline-block;
    padding-left: 0.45rem;
    height: 0.35rem;
    background: url("/imgs/purchase/index/purchase-sxb.png") no-repeat left center;
    background-size: 0.36rem 0.35rem;
  }
}
.purchase-topRight{
  width: 49.6%;
  border-left: 1px solid #d8d8d8;
  .topRight-list{
    position: relative;
    height: 50%;
    div{
      position: relative;
      z-index: 101;
      padding: 0.29rem 0 0 0.29rem;
    }
    h6{
      width: 100%;
      font-weight: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 13px;
      color: #333;
    }
    p{
      font-size: 10px;
      color: #7b7b7b;
    }
    img{
      position: absolute;
      //right: 0.05rem;
      //bottom: 0.05rem;
      left: 0;
      top: 0;
      z-index: 100;
      display: block;
      width: 100%;
      height: 100%;
    }
  }
  .topRight-list:first-child{
    height: 49.6%;
    border-bottom: 1px solid #d8d8d8;
  }
}
.purchase-bursting,.purchase-secKill{
  margin-bottom: 0.2rem;
  padding-left: 0.29rem;
  background: #fff;
}
.purchase-title{
  position: relative;
  height: 0.87rem;
  line-height: 0.87rem;
  font-size: 15px;
  color: #333;
  .purchase-titleLeft{
    display: inline-block;
    width: 1.84rem;
    height: 100%;
    //font-size: 15px;
    //font-style: italic;
    //color: #f76654;
    background: url(/imgs/purchase/index/purchase-baokuan.png) no-repeat left center;
    background-size: 1.81rem 0.41rem;
  }
}
.purchase-more2{
  position: absolute;
  top: 0;
  right: 0.2rem;
  display: inline-block;
  width: 0.6rem;
  height: 100%;
  background: url(/imgs/see/selfMedia/selfMedia-hotmore.png) no-repeat center;
  background-size: 0.6rem 0.6rem;
}
.bursting-cent{
  .swiper-slide{
    padding-bottom: 0.25rem;
    width: 1.8rem;
    font-size: 12px;
    text-align: center;
    h6{
      margin: 0.07rem 0 0.06rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: inherit;
      color: #333;
    }
  }
  .slide-img{
    position: relative;
    width: 100%;
    height: 1.8rem;
    img{
      display: block;
      width: 100%;
      height: 100%;
    }
    .slide-speed{
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 0.04rem;
      background: #e0e0e0;
      span{
        display: block;
        width: 80%;
        height: 100%;
        background: #f76654;
      }
    }
  }
}
.purchase-mons{
  display: inline-block;
  padding-left: 0.32rem;
  background: url("/imgs/purchase/index/purchase-mons.png") no-repeat left center;
  background-size: 0.24rem 0.24rem;
  color: #f44834;
}
.purchase-secKill{
  padding-bottom: 0.35rem;
  .purchase-titleLeft{
    background: url(/imgs/purchase/index/purchase-miaosha.png) no-repeat left center;
    background-size: 1.84rem 0.41rem;
  }
}
.secKill-data{
  display: block;
  //margin-left: 3.5rem;
  text-align: center;
  position: absolute;
  right: 0.8rem;
  top: 0;
  z-index: 100;
  font-size: 13px;
  color: #666;
  strong{
    margin-right: 0.05rem;
    color: #333333;
    vertical-align: -0.02rem;
  }
  span{
    margin: 0 0.05rem;
    display: inline-block;
    width: 0.36rem;
    height: 0.36rem;
    line-height: 0.36rem;
    text-align: center;
    font-size: 10px;
    color: #fff;
    background: #566067;
    border-radius: 50%;
  }
}
.secKill-cent{
  margin-right: 0.3rem;
}
.secKill-centImg{
  float: left;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  img{
    width: 100%;
    height: 100%;
  }
  .slide-speed{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.04rem;
    background: #e0e0e0;
    span{
      display: block;
      //width: 80%;
      height: 100%;
      background: #f76654;
    }
  }
}
.secKill-centRight{
    position: relative;
    padding: 0.25rem 0 0 2.73rem;
    height: 2.25rem;
  h6{
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: inherit;
  }
  p{
    margin: 0.05rem 0 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #7b7b7b;
  }
}
.secKill-money{
  font-size: 10px;
  color: #999;
  strong{
    color: #333;
    font-weight: inherit;
  }
  .purchase-mons{
    padding-left: 0.25rem;
    margin: 0 0.35rem 0 0.1rem;
  }
}
.secKill-sold{
  position: absolute;
  left: 2.73rem;
  bottom: 0;
  //margin-top: 0.3rem;
  font-size: 10px;
  color: #999;
}
.secKill-btn{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.6rem;
  height: 0.54rem;
  line-height: 0.54rem;
  text-align: center;
  background-color: #d45048;
  border-radius: 0.08rem;
  font-size: 13px;
  color: #fff;
}
.purchase-mong{
  margin-left: 0.1rem;
  display: inline-block;
  padding-left: 0.2rem;
  background: url("/imgs/purchase/index/purchase-mong.png") no-repeat left center;
  background-size: 0.2rem 0.2rem;
}
.purchase-home{
  margin-top: 0.2rem;
  background: #fff;
  .purchase-title{
    padding-left: 0.29rem;
  }
}
.purchase-homeImg{
  height: 2.3rem;
  width: 100%;
  img{
    width: 100%;
    height: 100%;
  }
}
.purchase-homeCent{
  height: 6.01rem;
  a{display: block;}
  h6{
    margin-left: 0.3rem;
    position: relative;
    z-index: 101;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: inherit;
  }
  p{
    margin: 0.03rem 0 0.03rem 0.3rem;
    position: relative;
    z-index: 101;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #7b7b7b;
  }
  img{
    position: absolute;
    bottom: 0;
  }
}
.homeCent-left{
  float: left;
  width: 50%;
  border-right: 1px solid #d8d8d8;
}
.homeCent-right{
  padding-left: 50%;
}
.homeCent-rightTop,
.homeCent-rightCent,
.homeCent-rightButt,
.homeCent-leftButt{
  position: relative;
  img{
    right: 0;
    width: 1.47rem;
    height: 1.47rem;
  }
}
.homeCent-leftTop{
  position: relative;
  padding-top: 0.25rem;
  height: 3.75rem;
  border-bottom: 1px solid #d8d8d8;
  //h6{margin-top: 0.3rem}
  img{
    left: 50%;
    margin-left: -1.57rem;
    width: 3.15rem;
    height: 3.15rem;
  }
}
.homeCent-leftButt,.homeCent-rightButt{
  height: 2rem;
  div{
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -0.4rem;
    width: 100%;
    height: 0.8rem;
  }
}
.homeCent-rightTop{
  height: 1.74rem;
  padding-top: 0.25rem;
  border-bottom: 1px solid #d8d8d8;
}
.homeCent-rightCent{
  height: 1.76rem;
  padding-top: 0.23rem;
}
.homeCent-rightButt{
  border-top: 1px solid #d8d8d8;
}
.purchase-discount{
  background: #fff;
  .purchase-titleLeft{
    margin-left: 0.29rem;
    background: url(/imgs/purchase/index/purchase-zhekou.png) no-repeat left center;
    background-size: 1.36rem 0.31rem;
  }
}
.discountCent{
  //border-top: 1px solid #d8d8d8;
}
.discount-list{
  float: left;
  width: 49.8%;
  height: 2rem;
  border-top: 1px solid #d8d8d8;
  //background-image: url(/imgs/purchase/index/purchase-zhekou.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 1.46rem 1.46rem;
  h6{
    margin: 0.23rem 0.35rem 0 0.3rem;
    font-size: 0.26rem;
    color: #333333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  p{
    margin: 0.05rem 0 0 0.3rem;
    font-size: 0.2rem;
    color: #666666;
    span{
      margin: 0 0.05rem;
      color: #f44834;
    }
  }
  p:last-child{
    span{margin-left: 0}
  }
}
.discount-list:nth-child(even){
  border-left: 1px solid #d8d8d8;
}
/*新品*/
#newProduct{
  padding: 1rem 0 0.98rem;
  overflow: hidden;
  .screenNew{
    position: fixed;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 0.62rem;
    line-height: 0.6rem;
  }
}
.newProduct-title{
  height: 1.1rem;
  line-height: 1.1rem;
  text-align: center;
  font-size: 0.3rem;
  color: #333;
}
.newProduct-follow{
  background: #fefefe;
}
.follow-cent{
  font-size: 0;
}
.follow-centList{
  float: left;
  margin-left: 3%;
  padding-bottom: 0.25rem;
  width: 45.5%;
  height: 4.63rem;
  .follow-centImg{
    height: 3.3rem;
    //background: #ccc;
    background-size: 100%;
  }
  h6{
    margin: 0.15rem 0.12rem 0.05rem 0.1rem;
    font-size: 0.28rem;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  p{
    margin: 0 0.12rem 0.15rem 0.1rem;
    font-size: 0.2rem;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .follow-centMoney{
    padding-left: 0.34rem;
    color: #f44834;
    font-size: 0.26rem;
    background: url(/imgs/purchase/index/purchase-mons.png) no-repeat left center;
    background-size: 0.26rem 0.26rem;
  }
}
.newProduct-butt{
  margin-top: 0.2rem;
}
.newProduct-screen{
  height: 0.55rem;
  //line-height: 0.5rem;
  font-size: 0.26rem;
  color: #333333;
  background: #fff;
  //border-top: 1px solid red;
  >span{
    float: left;
    width: 33.33333%;
    text-align: center;
  }
  .active{
    color: #0092ff;
  }
  .screen-price{
    position: relative;
    strong{
      //position: absolute;
      //left: 1.5rem;
      //font-size: 9px;
      //font-family: "宋体";
      display: inline-block;
      width: 0.32rem;
      height: 0.32rem;
      vertical-align: -0.05rem;
    }
  }
  .screen-priceRise{
    top: -0.1rem;
  }
  .screen-priceDrop{
    top: 0.15rem;
  }
  .newProduct-psc1{
    background: url(/imgs/purchase/newProduct/newProduct-psc1.png) no-repeat left center;
    background-size: 0.32rem 0.32rem;
  }
  .newProduct-psc2{
    background: url(/imgs/purchase/newProduct/newProduct-psc2.png) no-repeat left center;
    background-size: 0.32rem 0.32rem;
  }
  .newProduct-psc3{
    background: url(/imgs/purchase/newProduct/newProduct-psc3.png) no-repeat left center;
    background-size: 0.32rem 0.32rem;
  }
  .screen-filter{
    strong{
      display: inline-block;
      width: 0.32rem;
      height: 0.3rem;
    }
  }
  .newProduct-saix1{
      background: url(/imgs/purchase/newProduct/newProduct-saix1.png) no-repeat left 0.02rem;
      background-size: 0.32rem 0.3rem;
  }
  .newProduct-saix2{
    background: url(/imgs/purchase/newProduct/newProduct-saix2.png) no-repeat left 0.02rem;
    background-size: 0.32rem 0.3rem;
  }
}